package com.lagou.dao;

import com.lagou.poji.Course;
import com.lagou.poji.Course_Lesson;
import com.lagou.poji.Course_Section;

import java.util.List;

/*
* 课程的内容管理 DAO层接口
*
* */
public interface CourseContentDao {

    public List<Course_Section> findSectionAndLessonByCourseId(int courseId);

    public List<Course_Lesson> findLessonBySectionId(int sectionId);

    public Course findCourseByCourseId(int courseId);

    public int saveSection(Course_Section course_section);

    public int updateSection(Course_Section section);

    public int updateSectionStatus(int id,int status);
}
